#-*- codeing = utf-8 -*-
#@Time : 2020/9/13 13:03
#@Author : 阳某
#@File : flask服务.py
#@Software : PyCharm
from flask import Flask
import time
app = Flask(__name__)
@app.route('/aa')
def index_aa():
    time.sleep(2)
    return 'hello aa!'
@app.route('/bb')
def index_bb():
    time.sleep(2)
    return 'hello bb!'
@app.route('/cc')
def index_cc():
    time.sleep(2)
    return 'hello cc!'

if __name__ == '__main__':
    app.run(threaded = True)